package com.my.study.designPatterns.compoundPattern;

public class GooseAdapter implements Quackable {

    private Goose goose;

    public GooseAdapter(Goose goose) {
        this.goose = goose;
    }

    @Override
    public void quack() {
        goose.honk();
    }


    @Override
    public void registerObserver(DuckObserver observer) {

    }

    @Override
    public void notifyObservers() {

    }
}
